const express = require('express');
const {getUser} = require('../apis/user');

const router = express.Router();

router.get('/getUser',async (req,res)=>{
    //console.log(req.headers);
    console.log(req.sessionUser);
    let data = await getUser();
    res.json(data);
})




module.exports = router;